//
//  SearchResultCollectionView.h
//  YCSearchDemo
//
//  Created by huyuchen on 2018/3/3.
//  Copyright © 2018年 Hyc. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^BlockClickHotTag)(NSString *key);

@interface SearchResultCollectionView : UIView

- (instancetype)initWithFrame:(CGRect)frame
                     tagColor:(UIColor *)tagColor
                   tagBgColor:(UIColor *)tagBgColor
                     tagBlock:(BlockClickHotTag)clickBlock;

/**
 *  整个View的背景颜色
 */
@property (nonatomic, strong) UIColor *bgColor;
/**
 *  点击标签
 */
@property (nonatomic, copy) BlockClickHotTag clickBlock;

- (void)appendResultHistoryText:(NSString *)text;
@end
